<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>首页二</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="../lib/layui-v2.5.5/css/layui.css" media="all">
    <link rel="stylesheet" href="../lib/font-awesome-4.7.0/css/font-awesome.min.css" media="all">
    <link rel="stylesheet" href="../css/public.css" media="all">
    <style>

    </style>
</head>
<body>
<div class="layuimini-container">
    <div class="layuimini-main">



        <div id="serviceBox" class="">
            <div class="layui-card">
                <div class="layui-card-header"><i class="fa fa-fire icon"></i>服务商信息</div>
                <div class="layui-card-body layui-text">
                    <table class="layui-table">
                        <tbody>
                        <tr>
                            <td width="150">服务商名称</td>
                            <td id="serviceName">
                                layuimini
                            </td>
                        </tr>
                        <tr>
                            <td>服务商法人</td>
                            <td id="serviceLegal"></td>
                        </tr>
                        <tr>
                            <td>纳税人识别号</td>
                            <td id="serviceTaxCode"></td>
                        </tr>
                        <tr>
                            <td>联系人手机号</td>
                            <td id="servicePhone"></td>
                        </tr>
                        <tr>
                            <td>工商注册号</td>
                            <td id="serviceCode"></td>
                        </tr>
                        <tr>
                            <td>税务登记号</td>
                            <td id="serviceTax"></td>
                        </tr>
                        <tr>
                            <td>组织机构代码</td>
                            <td id="serviceOrg"></td>
                        </tr>
                        <tr>
                            <td>开户银行</td>
                            <td id="serviceBank"></td>
                        </tr>
                        <tr>
                            <td>账户名称</td>
                            <td id="serviceBankName"></td>
                        </tr>
                        <tr>
                            <td>银行账号</td>
                            <td id="serviceAccount"></td>
                        </tr>
                        </tbody>
                    </table>
                </div>
            </div>
        </div> <!-- service box -->
    </div>
</div>
<script src="../lib/layui-v2.5.5/layui.js" charset="utf-8"></script>
<script>

    layui.use(['jquery', 'layer', 'tfApi'], function () {
        var $ = layui.jquery,
            layer = layui.layer,
            API = layui.tfApi,
            storage = localStorage,//window.sessionStorage,
            getServiceArr = storage.getItem("serviceInfo"),
            serviceInfo = JSON.parse(getServiceArr);


        $("#serviceBox").removeClass("layui-hide");
        $("#serviceName").html(serviceInfo.serviceName);
        $("#serviceLegal").html(serviceInfo.serviceLegal);
        $("#serviceTaxCode").html(serviceInfo.serviceTaxCode);
        $("#servicePhone").html(serviceInfo.servicePhone);
        $("#serviceCode").html(serviceInfo.serviceCode);
        $("#serviceTax").html(serviceInfo.serviceTax);
        $("#serviceOrg").html(serviceInfo.serviceOrg);
        $("#serviceBank").html(serviceInfo.serviceBank);
        $("#serviceBankName").html(serviceInfo.serviceBankName);
        $("#serviceAccount").html(serviceInfo.serviceAccount);

    });
</script>
</body>
</html>
